Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pager workaround code to Fragment 1.3.6 #7149

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

TacoTheDank
Copy link
Member

@TacoTheDank TacoTheDank commented Sep 22, 2021

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • I ported over changes from the newer versions of AndroidX Fragment's FragmentStatePagerAdapter to the FragmentStatePagerAdapterMenuWorkaround, since the current one is from a much older version.

Of course, this class will eventually be removed for ViewPager2, but I figured I'd do this anyway until ViewPager2 can actually be implemented.

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.

Due diligence

Stypox
Stypox previously requested changes Sep 27, 2021
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Copy link
Member

@litetex litetex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Seems to work as expected when using the main page.

@litetex litetex marked this pull request as draft October 18, 2021 18:09
@litetex
Copy link
Member

litetex commented Oct 18, 2021

Made the PR to a draft until the above is fixed.

@TacoTheDank
Copy link
Member Author

Should be good now.

@TacoTheDank TacoTheDank marked this pull request as ready for review October 19, 2021 21:40
@litetex litetex removed the request for review from Stypox October 20, 2021 17:36
@triallax
Copy link
Contributor

@Stypox I believe your review has been addressed, so I'll dismiss it.

@triallax triallax dismissed Stypox’s stale review October 20, 2021 17:40

Review addressed

@litetex litetex merged commit e0b1a6b into TeamNewPipe:dev Oct 20, 2021
@TacoTheDank TacoTheDank deleted the updateFragWorkaround branch October 21, 2021 03:24
This was referenced Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants